﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>

		<title>无标题文档</title>
		<link href="../../css/bgcss.css" rel="stylesheet" type="text/css" />
		<script language="javascript">
function switchCurrent(obj, childobj) {
	var tree_icon = document.getElementById("tree_icon");
	var tree_div = tree_icon.getElementsByTagName("div");
	var userInfo = document.getElementById("userInfo");
	var sysManage = document.getElementById("sysManage");
	for ( var i = 0; i < tree_div.length; i++) {
		if (tree_div[i] != obj.parentNode) {
			tree_div[i].className = "un_current";
		} else {
			tree_div[i].className = "current";
		}
	}
	if (childobj == "userInfo") {
		userInfo.style.display = "block";
		sysManage.style.display = "none";
	}
	if (childobj == "sysManage") {
		sysManage.style.display = "block";
		userInfo.style.display = "none";
	}
}
</script>
	</head>
	<body>
		<div id="left">
			<div id="left_menu"></div>
			<div id="left_tree">
				<div id="tree_icon">
					<div class="current">
						<img src="../../images/bg/user.gif"
							onclick="switchCurrent

(this,'userInfo')" />
						日常操作
					</div>
					<div class="un_current">
						<img src="../../images/bg/system.gif"
							onclick="switchCurrent(this,'sysManage')" />
						系统管理
					</div>

				</div>

				<div id="userInfo" class="tree_text">
					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="../member/take_memberId.jsp?Action_Id=701"
							target="mainFrame">会员查询</a>
					</li>
					<li class="tree_li2">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="../member/add_member.jsp?Action_Id=703" target="mainFrame">会员登记</a>
					</li>
					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/rpt?method=queryAllForward&Action_Id=700"
							target="mainFrame">交易管理</a>
					</li>
					<li class="tree_li2">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background//rfid?method=queryAllForward&Action_Id=805"
							target="mainFrame">充值卡管理</a>
					</li>
					
					<li class="tree_li2"><span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/rfid?method=queryReportForward&Action_Id=800"
							target="mainFrame">充值卡报表</a></li>
					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/car?method=queryAllForward&Action_Id=905"
							target="mainFrame">车辆管理</a>
					</li>
						<li class="tree_li2"><span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/goodplan?method=queryAllForward&Action_Id=1000"
							target="mainFrame">要货计划</a>
							</li>
				</div>
				
				<div id="sysManage" class="tree_text" style="display: none">
					<!--  
					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/action?method=queryAll&Action_Id=101"
							target="mainFrame">动作管理</a>
					</li>
-->
	<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/car?method=queryAll&Action_Id=901"
							target="mainFrame">车辆管理</a>
					</li>
					<li class="tree_li2">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/doorstore?method=queryAll&Action_Id=201"
							target="mainFrame">门店管理</a>
					</li>

					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/cashregister?method=queryAll&Action_Id=301"
							target="mainFrame">收银机管理</a>
					</li>

					<li class="tree_li2">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/position?method=queryAll&Action_Id=401"
							target="mainFrame">职位管理</a>
					</li>

					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/staff?method=queryAll&Action_Id=501"
							target="mainFrame">职员管理</a>
					</li>

					<li class="tree_li2">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/stafflogin?method=queryAll&Action_Id=600"
							target="mainFrame">帐号管理</a>
					</li>
					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="../membercard/add_membercard.jsp?Action_Id=706"
							target="mainFrame">会员卡发行</a>
					</li>
					<li class="tree_li2">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/print?method=queryAll&Action_Id=901"
							target="mainFrame">打印机管理</a>
					</li>
					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/dept?method=queryAll&Action_Id=1001"
							target="mainFrame">部门管理</a>
					</li>
					<li class="tree_li2">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/product?method=queryAll&Action_Id=801"
							target="mainFrame">单品管理</a>
					</li>
					<li class="tree_li1">
						<span class="list_img"><img
								src="../../images/bg/list_img.gif" /> </span><a
							href="<%=request.getContextPath()%>/background/breakfast?method=queryAll&Action_Id=1001"
							target="mainFrame">早点管理</a>
					</li>
				</div>

			</div>
			<div id="tree_down"></div>
			<script language="javascript">
var img = document.getElementsByTagName("img");
for ( var i = 0; i < img.length; i++) {
	img[i].onmouseover = function() {
		this.className = "imghover";
	}
	img[i].onmouseout = function() {
		this.className = "img";
	}
}
</script>
	</body>
</html>
